package cn.maihe.elg.operation.supports.electronicseal.anne.utils.annesign;

public class AnneSignConst {
    /**
     * api版本号1.0
     */
    public static final String API_VERSION_1 = "1.0";

    /**
     * api版本号2.0
     */
    public static final String API_VERSION_2 = "2.0";

    /**
     * 响应成功代码
     */
    public static final Integer RESPONSE_OK_CODE = 0;
    /**查询企业信息：企业不存在*/
    public static final Integer RESPONSE_NOT_EXISTS_CODE_1 = 1404;
    public static final Integer RESPONSE_NOT_EXISTS_CODE_2 = 1020;

    /**
     * 响应成功描述
     */
    public static final String RESPONSE_OK_DETAIL = "操作成功";

    /**
     * 响应失败代码
     */
    public static final Integer RESPONSE_FAIL_CODE = 1;

    /**
     * 开立保函申请协议书
     */
    public static final String CONTRACT_TYPE_SQ = "SQ";
    /**
     * 担保保函书
     */
    public static final String CONTRACT_TYPE_BH = "BH";

    /**
     * 审核状态：待审核
     */
    public static final String AUDIT_STATUS_INIT = "0";
    /**
     * 审核状态：审核失败
     */
    public static final String AUDIT_STATUS_FAIL = "5";
    /**
     * 审核状态：审核成功
     */
    public static final String AUDIT_STATUS_OK = "9";

    /**
     * 签署人状态：已创建
     */
    public static final String SIGNER_STATUS_CREATED = "0";
    /**
     * 签署人状态：未读未签
     */
    public static final String SIGNER_STATUS_UNREAD = "3";
    /**
     * 签署人状态：已读未签
     */
    public static final String SIGNER_STATUS_SIGNING = "5";
    /**
     * 签署人状态：拒签
     */
    public static final String SIGNER_STATUS_REJECT = "7";
    /**
     * 签署人状态：已签
     */
    public static final String SIGNER_STATUS_SIGNED = "9";

    /**
     * 合同状态：起草中
     */
    public static final String CONTRACT_STATUS_DRAFTING = "DRAFTING";
    /**
     * 合同状态：已撤销
     */
    public static final String CONTRACT_STATUS_CANCEL = "CANCEL";
    /**
     * 合同状态：已创建
     */
    public static final String CONTRACT_STATUS_CREATED = "CREATED";
    /**
     * 合同状态：签署中
     */
    public static final String CONTRACT_STATUS_SIGNING = "SIGNING";
    /**
     * 合同状态：已拒签
     */
    public static final String CONTRACT_STATUS_REJECTED = "REJECTED";
    /**
     * 合同状态：已逾期
     */
    public static final String CONTRACT_STATUS_OVERDUE = "OVERDUE";
    /**
     * 合同状态：已完成
     */
    public static final String CONTRACT_STATUS_FINISHED = "FINISHED";

    /**
     * 安妮回调通知地址：通过body.msgType区分不同消息
     */
    public static final String CALLBACK_NOTIFY_URL = "/callback/anneSign/notify";
}
